import { IsNotEmpty, IsString, Matches } from 'class-validator';

export class PasswordResetRequestDto {
  @IsNotEmpty()
  @IsString()
  @Matches(/^1[3-9]\d{9}$/, { message: 'Phone number must be a valid Chinese mobile number' })
  phone: string;
}
